package com.xy.mainp.novel.fragment.home.ui;

import com.xy.mainp.model.biqu.home.BiquHomeHotEntity;
import com.xy.mainp.model.biqu.home.classify.ClassfiyBookEntity;
import com.xy.mainp.model.biqu.home.newbook.LastInBookEntity;
import com.xy.mainp.model.biqu.home.newbook.LastUpdateEntity;
import com.xy.mainp.model.biqu.home.novellist.NovelListEntity;

import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;

import java.util.List;

/**
 * Created by John on 2016/12/5.
 */

public class NovelHomeCanstract {



    public interface NovelHomePresenterImpl {
        void getData(String url);
    }

    public interface NovelHomeViewImpl{
        void setHotView(List<BiquHomeHotEntity> list);
        void setClassfiyView(ClassfiyBookEntity entity);
        void setBookList(List<NovelListEntity> entity);
    }

    public interface NovelHomeModelImpl{
        LastInBookEntity getLastIn(Document document);
        LastUpdateEntity getLastUpdate(Document document);
        ClassfiyBookEntity getClassifiyBooks(Document document);
        List<BiquHomeHotEntity> getHotBooks(Document document);
        NovelListEntity getNovelListEntity(Element s);
    }
}
